/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.farmcode.api.runtime.database;

import com.farmcode.api.runtime.FARMCodeContext;
import com.farmcode.api.runtime.metadata.ObjectInfo;
import java.util.List;

/**
 *
 * @author oiprado
 */
public interface DatabaseExplorerAPI {
    public static final String COMPONENT_NAME = "com.farmcode.database.implementations";
    List<ObjectInfo> getObjects(FARMCodeContext context, ObjectInfo type) throws DatabaseEngineException;
    ObjectInfo getColumn(FARMCodeContext context, ObjectInfo dbo) throws DatabaseEngineException;
    String test(FARMCodeContext context);
}
